package 运动员和教练;

import java.sql.SQLOutput;

public class pingpangcoach extends coach implements speakEnglish{
    public pingpangcoach() {
    }

    public pingpangcoach(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println("吃乒乓球");
    }

    @Override
    public void teach() {
        System.out.println("教乒乓球");
    }

    @Override
    public void speakEnglish() {
        System.out.println("乒乓球教练出国讲英语");
    }
}
